/*
 * ControllerInput.h
 *
 *  Created on: 21/03/2011
 *      Author: Rafael
 */

#ifndef CONTROLLERINPUT_H_
#define CONTROLLERINPUT_H_

#include "Controller.h"

class ControllerInput: public Controller {
private:
	bool LEFT;
	bool RIGHT;
	bool UP;
	bool DOWN;
	bool ACTION;
	bool SPECIAL_ATACK;
	bool RUN;
public:
	ControllerInput();
	virtual ~ControllerInput();
	void update(Model *targetModel, GameObject *myObj);
	void init();
	bool getACTION() const
	{
		return ACTION;
	}

	bool getDOWN() const
	{
		return DOWN;
	}

	bool getLEFT() const
	{
		return LEFT;
	}

	bool getRIGHT() const
	{
		return RIGHT;
	}

	bool getRUN() const
	{
		return RUN;
	}

	bool getSPECIAL_ATACK() const
	{
		return SPECIAL_ATACK;
	}

	bool getUP() const
	{
		return UP;
	}

	void setACTION(bool ACTION)
	{
		this->ACTION = ACTION;
	}

	void setDOWN(bool DOWN)
	{
		this->DOWN = DOWN;
	}

	void setLEFT(bool LEFT)
	{
		this->LEFT = LEFT;
	}

	void setRIGHT(bool RIGHT)
	{
		this->RIGHT = RIGHT;
	}

	void setRUN(bool RUN)
	{
		this->RUN = RUN;
	}

	void setSPECIAL_ATACK(bool SPECIAL_ATACK)
	{
		this->SPECIAL_ATACK = SPECIAL_ATACK;
	}

	void setUP(bool UP)
	{
		this->UP = UP;
	}
};

#endif /* CONTROLLERINPUT_H_ */
